﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character.Sheet

    ''' <summary>
    ''' A class that encapsulates an arena team member
    ''' </summary>
    ''' <remarks></remarks>
    Public Class ArenaTeamMember

        ''' <summary>
        ''' The class of the team member
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property [Class] As Enums.ClassType

        ''' <summary>
        ''' The team member's personal rating
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property PersonalRating As Integer

        ''' <summary>
        ''' The number of games the team member played
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesPlayed As Integer

        ''' <summary>
        ''' The number of games the team member won
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property GamesWon As Integer

        ''' <summary>
        ''' The gender of the team member
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Gender As Enums.GenderType

        ''' <summary>
        ''' The team member's guild
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Guild As String

        ''' <summary>
        ''' The name of the team member
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The team member's race
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Race As Enums.RaceType

        ''' <summary>
        ''' The number of games the team member played this season
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SeasonGamesPlayed As Integer

        ''' <summary>
        ''' The number of games the team member won this season
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SeasonGamesWon As Integer

        ''' <summary>
        ''' Determines whether the team member is the team leader
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Leader As Boolean

        ''' <summary>
        ''' A constructor to create new team member information
        ''' </summary>
        ''' <param name="cClass"></param>
        ''' <param name="intContribution"></param>
        ''' <param name="intGamesPlayed"></param>
        ''' <param name="intGamesWon"></param>
        ''' <param name="gGender"></param>
        ''' <param name="strGuild"></param>
        ''' <param name="strName"></param>
        ''' <param name="rRace"></param>
        ''' <param name="intSeasonGamesPlayed"></param>
        ''' <param name="intSeasonGamesWon"></param>
        ''' <param name="blnTeamRank"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal cClass As Enums.ClassType, ByVal intContribution As Integer, ByVal intGamesPlayed As Integer, ByVal intGamesWon As Integer, ByVal gGender As Enums.GenderType, ByVal strGuild As String, ByVal strName As String, ByVal rRace As Enums.RaceType, ByVal intSeasonGamesPlayed As Integer, ByVal intSeasonGamesWon As Integer, ByVal blnTeamRank As Boolean)
            [Class] = cClass
            PersonalRating = intContribution
            GamesPlayed = intGamesPlayed
            GamesWon = intGamesWon
            Gender = gGender
            Guild = strGuild
            Name = strName
            Race = rRace
            SeasonGamesPlayed = intSeasonGamesPlayed
            SeasonGamesWon = intSeasonGamesWon
            Leader = blnTeamRank
        End Sub

    End Class

End Namespace
